[INFO] cloning repository https://github.com/shob4/image_processor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shob4/image_processor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshob4%2Fimage_processor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshob4%2Fimage_processor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1e49ea0e557d38a7a2931ddd2b44f78d194ebf0e
[INFO] fixing shob4/image_processor against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshob4%2Fimage_processor" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shob4/image_processor
[INFO] finished tweaking git repo https://github.com/shob4/image_processor
[INFO] tweaked toml for git repo https://github.com/shob4/image_processor written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shob4/image_processor on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shob4/image_processor already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 42ecfa4837d01ccaffae8520429fb3ab0ba8cb85f1d2412143b25b902bab7105
[INFO] running `Command { std: "docker" "start" "42ecfa4837d01ccaffae8520429fb3ab0ba8cb85f1d2412143b25b902bab7105", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "42ecfa4837d01ccaffae8520429fb3ab0ba8cb85f1d2412143b25b902bab7105" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "42ecfa4837d01ccaffae8520429fb3ab0ba8cb85f1d2412143b25b902bab7105", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "42ecfa4837d01ccaffae8520429fb3ab0ba8cb85f1d2412143b25b902bab7105" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking uuid v1.22.0
[INFO] [stderr]     Checking crc-catalog v2.5.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking crc v3.4.0
[INFO] [stderr]     Checking cfb v0.7.3
[INFO] [stderr]     Checking infer v0.19.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking image_processor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/bmp.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let blue = image[i * pixel_size..i * pixel_size + pixel_size];
[INFO] [stdout]     |             ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]     = note: all local variables must have a statically known size
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let blue = &image[i * pixel_size..i * pixel_size + pixel_size];
[INFO] [stdout]     |                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/bmp.rs:209:13
[INFO] [stdout]     |
[INFO] [stdout] 209 |         let green = image[i * pixel_size + pixel_size + 1..i * pixel_size + 2 * pixel_size];
[INFO] [stdout]     |             ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]     = note: all local variables must have a statically known size
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 209 |         let green = &image[i * pixel_size + pixel_size + 1..i * pixel_size + 2 * pixel_size];
[INFO] [stdout]     |                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bmp.rs:213:20
[INFO] [stdout]     |
[INFO] [stdout] 213 |             green: green,
[INFO] [stdout]     |                    ^^^^^ expected `u8`, found `[u8]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bmp.rs:214:19
[INFO] [stdout]     |
[INFO] [stdout] 214 |             blue: blue,
[INFO] [stdout]     |                   ^^^^ expected `u8`, found `[u8]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/bmp.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let blue = image[i * pixel_size..i * pixel_size + pixel_size];
[INFO] [stdout]     |             ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]     = note: all local variables must have a statically known size
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let blue = &image[i * pixel_size..i * pixel_size + pixel_size];
[INFO] [stdout]     |                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/bmp.rs:209:13
[INFO] [stdout]     |
[INFO] [stdout] 209 |         let green = image[i * pixel_size + pixel_size + 1..i * pixel_size + 2 * pixel_size];
[INFO] [stdout]     |             ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]     = note: all local variables must have a statically known size
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 209 |         let green = &image[i * pixel_size + pixel_size + 1..i * pixel_size + 2 * pixel_size];
[INFO] [stdout]     |                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bmp.rs:213:20
[INFO] [stdout]     |
[INFO] [stdout] 213 |             green: green,
[INFO] [stdout]     |                    ^^^^^ expected `u8`, found `[u8]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/bmp.rs:214:19
[INFO] [stdout]     |
[INFO] [stdout] 214 |             blue: blue,
[INFO] [stdout]     |                   ^^^^ expected `u8`, found `[u8]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image`
[INFO] [stdout]    --> src/bmp.rs:177:5
[INFO] [stdout]     |
[INFO] [stdout] 177 |     image: &[u8],
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bits_per_pixel`
[INFO] [stdout]    --> src/bmp.rs:178:5
[INFO] [stdout]     |
[INFO] [stdout] 178 |     bits_per_pixel: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bits_per_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `palette`
[INFO] [stdout]    --> src/bmp.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 179 |     palette: Vec<Rgb>,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_palette`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image`
[INFO] [stdout]    --> src/bmp.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 186 |     image: &[u8],
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bits_per_pixel`
[INFO] [stdout]    --> src/bmp.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     bits_per_pixel: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bits_per_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `palette`
[INFO] [stdout]    --> src/bmp.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     palette: Vec<Rgb>,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_palette`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image`
[INFO] [stdout]    --> src/bmp.rs:195:5
[INFO] [stdout]     |
[INFO] [stdout] 195 |     image: &[u8],
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bits_per_pixel`
[INFO] [stdout]    --> src/bmp.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 196 |     bits_per_pixel: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bits_per_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `palette`
[INFO] [stdout]    --> src/bmp.rs:197:5
[INFO] [stdout]     |
[INFO] [stdout] 197 |     palette: Vec<Rgb>,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_palette`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `jpeg_header`
[INFO] [stdout]    --> src/jpeg.rs:369:9
[INFO] [stdout]     |
[INFO] [stdout] 369 |     let jpeg_header = match (frame_start1, frame_start2) {
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jpeg_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantization_tables`
[INFO] [stdout]    --> src/jpeg.rs:399:9
[INFO] [stdout]     |
[INFO] [stdout] 399 |     let quantization_tables: Vec<QuantizationTable> = chunks
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantization_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `huffman_tables`
[INFO] [stdout]    --> src/jpeg.rs:425:9
[INFO] [stdout]     |
[INFO] [stdout] 425 |     let huffman_tables: Vec<HuffmanTable> = chunks
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_huffman_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/jpeg.rs:473:9
[INFO] [stdout]     |
[INFO] [stdout] 473 |     for i in 0..scan_header.component_count {}
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image`
[INFO] [stdout]    --> src/bmp.rs:177:5
[INFO] [stdout]     |
[INFO] [stdout] 177 |     image: &[u8],
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bits_per_pixel`
[INFO] [stdout]    --> src/bmp.rs:178:5
[INFO] [stdout]     |
[INFO] [stdout] 178 |     bits_per_pixel: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bits_per_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `palette`
[INFO] [stdout]    --> src/bmp.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 179 |     palette: Vec<Rgb>,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_palette`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image`
[INFO] [stdout]    --> src/bmp.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 186 |     image: &[u8],
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bits_per_pixel`
[INFO] [stdout]    --> src/bmp.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     bits_per_pixel: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bits_per_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `palette`
[INFO] [stdout]    --> src/bmp.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     palette: Vec<Rgb>,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_palette`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image`
[INFO] [stdout]    --> src/bmp.rs:195:5
[INFO] [stdout]     |
[INFO] [stdout] 195 |     image: &[u8],
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bits_per_pixel`
[INFO] [stdout]    --> src/bmp.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 196 |     bits_per_pixel: u16,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bits_per_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `palette`
[INFO] [stdout]    --> src/bmp.rs:197:5
[INFO] [stdout]     |
[INFO] [stdout] 197 |     palette: Vec<Rgb>,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_palette`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image`
[INFO] [stdout]   --> src/lib.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let image = png::build_png(header, image_chunks)?;
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image`
[INFO] [stdout]   --> src/lib.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let image = bmp::BmpImage::new(header, file);
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `jpeg_header`
[INFO] [stdout]    --> src/jpeg.rs:369:9
[INFO] [stdout]     |
[INFO] [stdout] 369 |     let jpeg_header = match (frame_start1, frame_start2) {
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jpeg_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantization_tables`
[INFO] [stdout]    --> src/jpeg.rs:399:9
[INFO] [stdout]     |
[INFO] [stdout] 399 |     let quantization_tables: Vec<QuantizationTable> = chunks
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantization_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `huffman_tables`
[INFO] [stdout]    --> src/jpeg.rs:425:9
[INFO] [stdout]     |
[INFO] [stdout] 425 |     let huffman_tables: Vec<HuffmanTable> = chunks
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_huffman_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/jpeg.rs:473:9
[INFO] [stdout]     |
[INFO] [stdout] 473 |     for i in 0..scan_header.component_count {}
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `image_processor` (lib test) due to 4 previous errors; 15 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `image`
[INFO] [stdout]   --> src/lib.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let image = png::build_png(header, image_chunks)?;
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image`
[INFO] [stdout]   --> src/lib.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let image = bmp::BmpImage::new(header, file);
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_image`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `image_processor` (lib) due to 4 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "42ecfa4837d01ccaffae8520429fb3ab0ba8cb85f1d2412143b25b902bab7105", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42ecfa4837d01ccaffae8520429fb3ab0ba8cb85f1d2412143b25b902bab7105", kill_on_drop: false }`
[INFO] [stdout] 42ecfa4837d01ccaffae8520429fb3ab0ba8cb85f1d2412143b25b902bab7105
